<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog record"
     style="background-color: #fafafa; width: 100%; height: 100%;">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'B1801.recordopen.column01' | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-text-fields" style="margin: 5px 20px 5px 20px;">
        <label class="label" ng-bind="'B1801.recordopen.column05' | translate" style="margin: 5px;"></label>
        <input readonly="readonly" ng-model="dialog.adjustment_currently_record_top.RWOMESNO" style="margin: 5px;"></input>
        <label class="label" ng-bind="'B1801.recordopen.column06' | translate" style="margin: 5px;"></label>
        <input readonly="readonly" ng-model="dialog.adjustment_currently_record_top.ReportDate" style="margin: 5px;"></input>
    </div>
    <div class="kmi-text-fields" style="margin: 5px 20px 5px 20px;">
        <label class="label" ng-bind="'B1801.recordopen.column02' | translate" style="margin: 5px;"></label>
        <input readonly="readonly" ng-model="dialog.adjustment_currently_record_top.LotNo" style="margin: 5px;"></input>
        <label class="label" ng-bind="'B1801.recordopen.column03' | translate" style="margin: 5px;"></label>
        <input readonly="readonly" ng-model="dialog.adjustment_currently_record_top.op" style="margin: 5px;"></input>
        <label class="label" ng-bind="'B1801.recordopen.column04' | translate" style="margin: 5px;"></label>
        <input readonly="readonly" ng-model="dialog.adjustment_currently_record_top.equipment" style="margin: 5px;"></input>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-list" kmi-scrollbar="500px">
                <div class="kmi-list__header">
                    <div class="kmi-list__column head-controls" style="flex:1;">
                        <div class="filter" ng-show="filterSH.user">
                            <input ng-model="list_filter.user">
                            <i class="material-icons clear" style="position: absolute;top: 2px;right: 4px;"
                               ng-click="filterSH.user = false;list_filter.user = '';">clear</i>
                        </div>
                        <div class="order" ng-hide="filterSH.user">
                            <i class="material-icons search" style="z-index:1;" ng-click="filterSH.user = true">search</i>
                            <label ng-bind="'B1801.recordopen.column07'| translate"></label>
                        </div>
                    </div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column08' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column09' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column13' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column10' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column11' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B1801.recordopen.column12' | translate"></div>
                </div>
                <div class="kmi-list__row-content">
                    <div class="kmi-list__row" ng-repeat="item in dialog.adjustment_currently_record | filter: list_filter track by $index">
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.user"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.EMPTime_s"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.EQPTime_s"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.QTY"></div>
                        <div class="kmi-list__column column-border" style="flex:1;">
                            <span ng-if="item.EditType==0" ng-bind="'B1801.add' | translate" />
                            <span ng-if="item.EditType==1" ng-bind="'B1801.edit' | translate" />
                            <span ng-if="item.EditType==2" ng-bind="'B1801.ori' | translate" />
                        </div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.Creator"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.CreateDate"></div>
                    </div>
                </div>
            </div>
            <div class="btn-panel" style="display: flex; justify-content: flex-end;">
                <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="dialog.confirm()" style="width:100px">
                    <label ng-bind="'B1801.return' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
            </div>
        </div>
    </div>
</div>
